@extends('gotop.index')
@section('content')
<!-- MAIN -->
<div id="main" role="main" class="cf">
	<!-- SLIDER -->
	<div class="slider-wrapper theme-default">
		<div id="slider" class="nivoSlider">
			@slider
			<a href="{{$s['url']}}"><img src="{{$s['thumb']}}" alt="" height="550px" /></a>
			@endslider
		</div>
	</div>
	<!-- ENDS SLIDER -->

	<!-- tagline -->
	<div class="tagline">EXHIBITION OF WORKS</div>
	<!-- ENDS tagline -->

	<!-- featured -->
	<ul class="feature cf">
		@article(['iscommend'=>1,'limit'=>3])
		<li>
			<a href="{{route('single',$a['id'])}}" class="thumb">
				<img src="{{$a['thumb']}}" alt="Thumbnail" width="100%" height="300px"/>
				<div class="img-overlay">阅读</div>
			</a>
			<div style="white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"><a href="{{route('single',$a['id'])}}" class="title">{{$a['title']}}</a></div>
			<div class="categories"><a href="#">webdesign, </a><a href="#">print, </a><a href="#">photo</a></div>
			<div class="excerpt" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{$a['bewrite']}}</div>
			<a href="{{route('single',$a['id'])}}" class="action-button">阅读</a>
		</li>
		@endarticle
	</ul>
	<!-- ENDS featured -->

</div>
<!-- ENDS MAIN -->
@endsection
